import request from '@/utils/request'

// 查询亲社会行为订单列表
export function listActivityOrder(query) {
  return request({
    url: '/system/activityOrder/list',
    method: 'get',
    params: query
  })
}

// 查询亲社会行为订单详细
export function getActivityOrder(id) {
  return request({
    url: '/system/activityOrder/' + id,
    method: 'get'
  })
}

// 新增亲社会行为订单
export function addActivityOrder(data) {
  return request({
    url: '/system/activityOrder',
    method: 'post',
    data: data
  })
}

// 修改亲社会行为订单
export function updateActivityOrder(data) {
  return request({
    url: '/system/activityOrder',
    method: 'put',
    data: data
  })
}

// 删除亲社会行为订单
export function delActivityOrder(id) {
  return request({
    url: '/system/activityOrder/' + id,
    method: 'delete'
  })
}
